package cn.tedu.egmybatis2.mapper;

import cn.tedu.egmybatis2.pojo.entity.Product;
import cn.tedu.egmybatis2.pojo.vo.ProductVo01;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {

    int insertProduct(Product product);

    ProductVo01 selectOneProduct(Integer id);

    List<Product> selectAllProduct();

    int deleteById(Integer id);

    int updateById(Product product);

}
